package com.ccnf.model.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author developer
 * @since 2018-06-07
 */
@TableName("invitation_record")
@Data
public class InvitationRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 邀请函ID
     */
    @TableId("invitation_id")
    @ApiModelProperty("邀请函ID")
    private Long invitationId;
    /**
     * 记录类型（0:总，1:今日）
     */
    @ApiModelProperty(value = "记录类型", hidden = true)
    @TableId("record_type")
    private Integer recordType;
    /**
     * 浏览次数
     */
    @ApiModelProperty(value = "浏览次数", hidden = true)
    @TableField("browse_count")
    private Integer browseCount;
    /**
     * 转发分享次数
     */
    @ApiModelProperty(value = "转发分享次数", hidden = true)
    @TableField("forward_count")
    private Integer forwardCount;
    /**
     * 已使用人数
     */
    @ApiModelProperty(value = "已使用人数", hidden = true)
    @TableField("use_count")
    private Integer useCount;
    /**
     * 观众登记人数
     */
    @ApiModelProperty(value = "观众登记人数", hidden = true)
    @TableField("register_count")
    private Integer registerCount;
    /**
     * 观众到场人数
     */
    @ApiModelProperty(value = "观众到场人数", hidden = true)
    @TableField("enter_count")
    private Integer enterCount;

    @ApiModelProperty(value = "收藏数量", hidden = true)
    @TableField("collection_count")
    private Integer collectionCount;

    /**
     * 是否关注
     */
    @ApiModelProperty("是否关注")
    @TableField("is_star")
    private Integer isStar;

    @ApiModelProperty(value = "关注时间", hidden = true)
    @TableField("star_time")
    private Long starTime;
}